package pattern.principle.lsp;

public class TestLsp {

	public static void main(String[] args) {
		Animal animal;
		animal = new Horse();
		animal.move();
		animal = new Bird();
		animal.move();
		/**
		 * Multiple markers at this line
	- Cannot instantiate the type Animal
	- Type mismatch: cannot convert from Animal to Horse
		 */
		//Horse h = new Animal();
	}
}
